﻿using System;
using Server;

namespace Server.Items
{
    class Pugni : ArmaBase
    {
        public static void Initialize()
        {
            Mobile.DefaultWeapon = new Pugni();
        }
        public override double DefPeso { get { return 1.5; } }
        public override int DefDannoMinimo { get { return 1; } }
        public override int DefDannoMassimo { get { return 6; } }
        public override SkillName DefSkillUtilizzata { get { return SkillName.Lottare; } }
        public override WeaponAnimation DefAnimazione { get { return WeaponAnimation.Wrestle; } }
        public override WeaponType DefTipo { get { return WeaponType.Contundenti; } }
        public override int DefMinPuntiStruttura { get { return -1; } }
        public override int DefMaxPuntiStruttura { get { return -1; } }
        public override int DefSuonoTargetColpito { get { return 0x137; } }
        public override int DefSuonoTargetMancato { get { return 0x23A; } }
        public override int DefMaxRangeCaricareColpo { get { return 1; } }
        public override int DefMaxRangeScaricareColpo { get { return 1; } }

        public Pugni() : base( 0x0 )
		{
			Visible = false;
			Movable = false;
			Quality = WeaponQuality.Regular;
		}

		public Pugni( Serial serial ) : base( serial )
		{
		}

        public override void Serialize(GenericWriter writer)
        {
            base.Serialize(writer);

            writer.Write((int)0); // version
        }

        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);

            int version = reader.ReadInt();

            Delete();
        }
    }
}
